#include <stdio.h>
#define MAXSIZE 11

typedef int ElementType;
typedef struct LNode *List;
typedef struct LNode
{
    ElementType Data[MAXSIZE];
    int Length;
};

int SequentialSearch(List Tbl, ElementType K)
{
    Tbl->Data[0] = K; // 哨兵
    int i;
    for (i = Tbl->Length; Tbl->Data[i] != K; i--)
        ;
    return i;
}

